package com.spring;

import com.sun.istack.internal.Nullable;

public interface BeanPostProcessor {
    //Java8接口默认实现
    @Nullable
    default Object postProcessBeforeInitialization(Object bean, String beanName) throws Exception{
        return bean;
    }

    @Nullable
    default Object postProcessAfterInitialization(Object bean, String beanName) throws Exception{
        return bean;
    }
}
